#include "QCommon.h"
#include <fstream>
#include <iostream>
using namespace std;

void store_msqid(int msqid)
{
    ofstream fout;
    fout.open(QSERVER_OUT_MSQ);
    fout<<msqid;
    fout.close();
}

int retrieve_msqid()
{
    ifstream fin;
    fin.open(QSERVER_OUT_MSQ);
    int msqid;
    fin>>msqid;
    fin.close();
	return msqid;
}


